﻿ <%@ Page Language="C#" MasterPageFile="~/Admin/Master/AdminMaster.Master" AutoEventWireup="true"
    CodeBehind="LogList.aspx.cs" Inherits="HZ.DrugTrade.Web.Admin.SystemManage.LogList"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li class="active"><a href="javascript:void(0);">操作日志列表</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td align="right">
                    操作人：
                </td>
                <td align="right">
                    <asp:TextBox ID="txtOperator" runat="server"></asp:TextBox>
                </td>
                <td align="right">
                    操作时间：
                </td>
                <td align="left">
                    <asp:TextBox ID="txtOperateTimeFrom" runat="server" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                        MaxLength="10"></asp:TextBox>-<asp:TextBox ID="txtOperateTimeTo" runat="server" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                            MaxLength="10"></asp:TextBox>
                </td>
                <td align="right">
                    所属角色：
                </td>
                <td>
                    <asp:DropDownList runat="server" ID="ddlRole">
                        <asp:ListItem Value="">(全部)</asp:ListItem>
                        <asp:ListItem Value="0">医疗机构</asp:ListItem>
                        <asp:ListItem Value="1">配送企业</asp:ListItem>
                        <asp:ListItem Value="2">管理中心</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    <hz:HzButton ID="btnQuery" runat="server" Text="查 询" CssClass="btn" OnClick="btnQuery_Click" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView CssClass="mainlist" ID="gvwLog" runat="server" AutoGenerateColumns="false"
        EmptyDataText="暂无操作日志！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="OperateMessage" HeaderText="操作信息" HeaderStyle-Width="400px" />
            <asp:BoundField DataField="OperateTime" HeaderText="操作时间" HeaderStyle-Width="130px" />
            <asp:BoundField DataField="Operator" HeaderText="操作人" HeaderStyle-Width="100px" />
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
</asp:Content>
